import time
from selenium import webdriver
from selenium.webdriver.common.keys import Keys
from selenium.webdriver.common.by import By
chrome_browser=webdriver.Chrome()
chrome_browser.get('https://www.so.com/')
chrome_browser.maximize_window()
time.sleep(2)
contrlo_element1=chrome_browser.find_element(By.ID,"input")
time.sleep(2)
contrlo_element1.send_keys('python')
time.sleep(2)
'''contrlo_element1.send_keys(Keys.ENTER)'''
contrlo_element2=chrome_browser.find_element(By.ID,"search-button")
time.sleep(2)
contrlo_element2.click()
time.sleep(2)
print(chrome_browser.page_source)
